package cn.itsource.pet.domain;

import cn.itsource.basic.domain.BaseDomain;
import cn.itsource.basic.domain.BaseTreeNode;
import io.swagger.annotations.ApiModel;
import lombok.Data;

import javax.persistence.Table;
import javax.persistence.Transient;
import java.math.BigDecimal;
import java.util.Date;

@Table(name = "t_search_master_msg") //tkmybatis实体类指向的数据库表名
@Data  //生成get set toString
@ApiModel(value = "对象", description = "对象实体类")
public class SearchMasterMsg extends BaseDomain {

    private String title;
    private Integer state = 0;//未接单
    private String name;
    private String age;
    private Boolean gender;
    private String coatColor;
    private String resources;
    private Long petType;
    private BigDecimal price;//99999999.99

    private String address;
    private Long userId;
    private Long shopId;

    private String note;//描述
    //创建时间
    private Date createTime = new Date();


    @Transient //临时的
    private String petTypeName;

    @Transient //临时的
    private Long empId;
}
